/* pages/menu/index.wxss */
.container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  box-sizing: border-box;
  background-color: #f0efff;
  transition: all .3s;

  .search {
    width: 506rpx;
    height: 64rpx;
    line-height: 64rpx;
    padding-left: 32rpx;
    margin: 8rpx 0 0 48rpx;
    background: #ffffff;
    border-radius: 32rpx;
    color: #FF007F;
    font-size: 28rpx;
    letter-spacing: 4rpx;
    font-weight: bolder;
    box-sizing: border-box;
  }

  .main {
    margin-top: 24rpx;
    display: flex;
    flex: 1;
    height: 64rpx;

    // 侧边栏
    .sidebar {
      width: 170rpx;
      transition: all .3s;

      ::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
        color: transparent;
      }
    }

    // 点单
    .content {
      flex: 1;

      ::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
        color: transparent;
      }


      .recommend {
        display: flex;
        flex-direction: column;
        align-items: center;

        .recommend-img {
          width: 558rpx;
          height: 310rpx;

          &:nth-child(n+1) {
            margin-top: 16rpx;
          }
        }
      }
    }
  }


  .submit-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f2f2f2;
    height: 100rpx;

    .bar-left {
      display: flex;
      align-items: center;

      .icon-container {
        .icon {
          position: relative;
          margin-left: 32rpx;
          width: 85rpx;
          height: 85rpx;
        }

        .count {
          position: absolute;
          left: 50%;
          top: 55%;
          transform: translateX(-50%) translateY(-50%);
          color: #fff;
          text-align: center;
          font-size: 28rpx;
        }
      }

      .money {
        font-size: 36rpx;
        margin-left: 6rpx;
      }
    }
  }

  .goodGroup {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    min-width: 320rpx;
    max-height: 720rpx;
    margin-bottom: 100rpx;
    background-color: #f5f4f9;
    box-sizing: border-box;
    box-shadow: 0rpx -6rpx 12rpx 0rpx rgba(0, 0, 0, 0.08);
    transition: all .3s;
    border-radius: 16rpx 16rpx 0 0;
    overflow: hidden;

    &:last-child {
      border: 0;
    }

    &:first-child {
      margin-top: 16rpx;
    }

    ::-webkit-scrollbar {
      display: none;
      width: 0;
      height: 0;
      color: transparent;
    }
  }
}

.active {
  color: #1677ff !important;
  border-left: 10rpx solid #1677ff;
  background-color: #ffffff;
  letter-spacing: 2rpx;
}